﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Bzure.Common.Configuration.AppConfiguration;

namespace Bzure.Common.HttpAspects.Configuration
{
    public class AspectBusConfig:ConfigurationSection 
    {
        public override string BlockName
        {
            get { return "aspectBus"; }
        }
        public static AspectBusConfig Current
        {
            get
            {
                return HttpFactorySection.Current.GetFirstConfigurationSection<AspectBusConfig>(); 
            }
        }
        public static AspectConfig[] Aspects
        {
            get
            {
                return Current.GetConfigurationSections<AspectConfig>();
            }
        }
    }
}
